package com.cgx.tablet.beeper.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2018/9/13 0013.
 */

public class CallBean implements Parcelable{
    private String typeName;    /*票号类型*/
    private String bizName;     /*业务名称*/
    private String bizId;       /*业务主键*/
    private String ticket;      /*票号*/
    private String tid;         /*票号主键*/
    private String otherInfo;   /*其它信息*/

    public CallBean(){

    }

    protected CallBean(Parcel in) {
        typeName = in.readString();
        bizName = in.readString();
        bizId = in.readString();
        ticket = in.readString();
        tid = in.readString();
        otherInfo = in.readString();
    }

    public static final Creator<CallBean> CREATOR = new Creator<CallBean>() {
        @Override
        public CallBean createFromParcel(Parcel in) {
            return new CallBean(in);
        }

        @Override
        public CallBean[] newArray(int size) {
            return new CallBean[size];
        }
    };

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getBizName() {
        return bizName;
    }

    public void setBizName(String bizName) {
        this.bizName = bizName;
    }

    public String getBizId() {
        return bizId;
    }

    public void setBizId(String bizid) {
        this.bizId = bizid;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getOtherInfo() {
        return otherInfo;
    }

    public void setOtherInfo(String otherInfo) {
        this.otherInfo = otherInfo;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(typeName);
        dest.writeString(bizName);
        dest.writeString(bizId);
        dest.writeString(ticket);
        dest.writeString(tid);
        dest.writeString(otherInfo);
    }
}
